<?php

class Widget{

    public $widgetname;

    //optional id for the widget
    public $id;

    //optional title of the widget
    public $title;

    //whether there will be an edit button
    public $is_editable;

    //whether it can be dragged and dropped
    public $is_sortable;

    //show title or not
    public $is_showtitle;

    //the inner template file of the module
    public $template;

    //other css classes
    public $other_css_classes;

    //variable passed to the template
    public $arg;
    
    public $theme = "Default";

    //render the widget to html
    //this template is to be overrided.
    function render($template){
        

    }

}

?>
